package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-24
 */
@Data
@DbTable(tableName = "t_plane_use_material")
public class PlaneUseMaterial extends BaseEntity {
        /**
     * 养护用料ID
     */
    @DbTableField(columnName = "c_plane_use_material_guid", dbType = DbTypeEnum.CHAR)
    public String planeUseMaterialGuid ;

    /**
     * 养护计划ID
     */
    @DbTableField(columnName = "c_plane_id", dbType = DbTypeEnum.CHAR)
    public String planeId ;

    /**
     * 编号
     */
    @DbTableField(columnName = "c_no", dbType = DbTypeEnum.VARCHAR)
    public String no ;

    /**
     * 
     */
    @DbTableField(columnName = "c_work_time", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime workTime ;

    /**
     * 材料类型
     */
    @DbTableField(columnName = "c_material_type", dbType = DbTypeEnum.INTEGER)
    public Integer materialType ;

    /**
     * 
     */
    @DbTableField(columnName = "c_watermeter_id", dbType = DbTypeEnum.INTEGER)
    public Integer watermeterId ;

    /**
     * 
     */
    @DbTableField(columnName = "c_watermeterprice_id", dbType = DbTypeEnum.INTEGER)
    public Integer watermeterpriceId ;

    /**
     * 标段ID
     */
    @DbTableField(columnName = "c_section_id", dbType = DbTypeEnum.CHAR)
    public String sectionId ;

    /**
     * 企业ID
     */
    @DbTableField(columnName = "c_company_id", dbType = DbTypeEnum.CHAR)
    public String companyId ;

    /**
     * 养护量
     */
    @DbTableField(columnName = "c_amount", dbType = DbTypeEnum.DOUBLE)
    public Double amount ;

    /**
     * 养护单价
     */
    @DbTableField(columnName = "c_unit_price", dbType = DbTypeEnum.DOUBLE)
    public Double unitPrice ;

    /**
     * 养护经费
     */
    @DbTableField(columnName = "c_budget", dbType = DbTypeEnum.DOUBLE)
    public Double budget ;

    /**
     * 样点ID
     */
    @DbTableField(columnName = "c_point_id", dbType = DbTypeEnum.CHAR)
    public String pointId ;

    /**
     * 样点编号
     */
    @DbTableField(columnName = "c_point_no", dbType = DbTypeEnum.VARCHAR)
    public String pointNo ;

    /**
     * 样点路段描述
     */
    @DbTableField(columnName = "c_point_desc", dbType = DbTypeEnum.VARCHAR)
    public String pointDesc ;

    /**
     * 施肥对象
     */
    @DbTableField(columnName = "c_fer_obj", dbType = DbTypeEnum.VARCHAR)
    public String ferObj ;

    /**
     * 发放开始日期
     */
    @DbTableField(columnName = "c_grant_start_date", dbType = DbTypeEnum.VARCHAR)
    public String grantStartDate ;

    /**
     * 发放结束日期
     */
    @DbTableField(columnName = "c_grant_end_date", dbType = DbTypeEnum.VARCHAR)
    public String grantEndDate ;

    /**
     * 计划量
     */
    @DbTableField(columnName = "c_plan_amount", dbType = DbTypeEnum.DOUBLE)
    public Double planAmount ;

    /**
     * 审核量
     */
    @DbTableField(columnName = "c_pass_amount", dbType = DbTypeEnum.DOUBLE)
    public Double passAmount ;

    /**
     * 实际量
     */
    @DbTableField(columnName = "c_obj_amount", dbType = DbTypeEnum.DOUBLE)
    public Double objAmount ;

    /**
     * 实际量单位
     */
    @DbTableField(columnName = "c_obj_unit", dbType = DbTypeEnum.VARCHAR)
    public String objUnit ;

    /**
     * 养护面积
     */
    @DbTableField(columnName = "c_measure", dbType = DbTypeEnum.DOUBLE)
    public Double measure ;

    /**
     * 面积单位
     */
    @DbTableField(columnName = "c_measure_unit", dbType = DbTypeEnum.DOUBLE)
    public Double measureUnit ;


}
